{% if latest_events_list %}
    <ul>
    {% for event in latest_events_list %}
        <li><a href="/events/{{ event.id }}/">{{ event }}</a></li>
    {% endfor %}
    </ul>
{% else %}
    <p>No events are available.</p>
{% endif %}